package com.logos.musicframe;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;

/**
 * @author logos
 * date 2025/6/3 14:02
 * @version v1.0
 * @Package com.logos.musicframe
 */
public class TestApplication extends Application {

    @Override
    public void start(Stage stage)  {
        String javaVersion = System.getProperty("java.version");
        String javafxVersion = System.getProperty("javafx.version");
        Label l = new Label("Hello, 你的JavaFX版本是： " + javafxVersion + ", Java版本是 " + javaVersion + ".");
        Scene scene = new Scene(new StackPane(l), 640, 480);
        stage.setScene(scene);
        stage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}
